<template>
    <van-popup v-model:show="showBottom" position="bottom" :style="{ height: '30%' }">
        <van-floating-panel v-model:height="height" :anchors="anchors">
            <div style="text-align: center; padding: 15px; background-color: aqua;">
                <p>面板显示高度 {{ height.toFixed(0) }} px</p>
            </div>
        </van-floating-panel>
    </van-popup>
</template>
<script>
export default{
    data(){
        return{
            anchors:[Math.round(0.9*window.innerHeight)],
            height: 500,
            show: false
        }
    },
    created(){

    },
    methods:{

    }
}
</script>
<style>

</style>